package com.example.entity;

public class Student {
    private Integer id;         // 序号
    private String studentId;   // 学号
    private String name;        // 姓名
    private String grade;       // 年级
    private String classes;     // 班级
    private String email;       // 邮箱

    // 构造函数
    public Student() {}

    public Student(String studentId, String name, String grade, String classes, String email) {
        this.studentId = studentId;
        this.name = name;
        this.grade = grade;
        this.classes = classes;
        this.email = email;
    }

    // getter和setter方法
    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getStudentId() {
        return studentId;
    }

    public void setStudentId(String studentId) {
        this.studentId = studentId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGrade() {
        return grade;
    }

    public void setGrade(String grade) {
        this.grade = grade;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }
} 